package com.code.day05;

public class Dome01 {
/*
  com.fatigue.controller(表现层):专门接收请求回应相应的类
  com.fatigue.service(业务层)写业务逻辑的类
  com.fatigue.dao(持久层)：专门放数据库的类
  com.fatigue.utils:工具类
  com.fatigue.pojo:专门放javaweb
*/
    public static void main(String[] args) {
        int a = 20;
        int b = 10;
        method(a, b);
        System.out.println("=====");
        int method1 = method1();
        System.out.println(method1);
    }

    public static void method(int x, int y) {
        System.out.println(x + y);
    }

    public static int method1() {
        int a = 10;
        int b = 20;
        int sum = a + b;
        return sum ;
    }
}
